#ifndef			__AUDIO_H__
#define			__AUDIO_H__

#include		"decoder.h"
#include		"Player.h"
#include		"ApiAudio.h"

class			Time;
class			Audio
{
	friend		ApiAudio;
public:
	Audio(Time &);
	~Audio();

private:
	Player		_speaker;
	Decoder		_decoder;

public:
	void		start();
	ApiAudio	*getApi();
};

#endif // !__AUDIO_H__
